import VCharts from "v-charts";

const Charts = (Vue) => {
	Object.keys(VCharts).forEach(key => {
		let component = VCharts[key];
		if (typeof component === "object" && component.name) {
			Vue.component(component.name, () => Promise.resolve(component));
		}
	});
};
export default Charts;
